package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.MsActivityEffectStatistics;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 活动效果统计业务对象 ms_activity_effect_statistics
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MsActivityEffectStatistics.class, reverseConvertGenerate = false)
public class MsActivityEffectStatisticsBo extends BaseEntity {

    /**
     * 统计ID
     */
    @NotNull(message = "统计ID不能为空", groups = { EditGroup.class })
    private Long statId;

    /**
     * 统计日期
     */
    @NotNull(message = "统计日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date statDate;

    /**
     * 统计月份
     */
    private String statMonth;

    /**
     * 统计年份
     */
    private Long statYear;

    /**
     * 活动类型
     */
    private String activityType;

    /**
     * 活动总数
     */
    private Long totalActivities;

    /**
     * 已完成活动数
     */
    private Long completedActivities;

    /**
     * 已取消活动数
     */
    private Long canceledActivities;

    /**
     * 参与人数总计
     */
    private Long totalParticipants;

    /**
     * 平均参与人数
     */
    private Long avgParticipants;

    /**
     * 参与率(%)
     */
    private Long participationRate;

    /**
     * 平均满意度评分(1-5分)
     */
    private Long avgSatisfactionScore;

    /**
     * 正面反馈数量
     */
    private Long positiveFeedbackCount;

    /**
     * 负面反馈数量
     */
    private Long negativeFeedbackCount;

    /**
     * 健康改善率(%)
     */
    private Long healthImprovementRate;

    /**
     * 情绪改善率(%)
     */
    private Long moodImprovementRate;

    /**
     * 社交互动改善率(%)
     */
    private Long socialInteractionImprovement;

    /**
     * 改进建议
     */
    private String improvementSuggestions;

    /**
     * 备注
     */
    private String remarks;


}
